﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Entities.ReadMeterMS;
using WaterRevenueMS.Componnent.Common;
using WaterRevenueMS.Domain.ViewModels.ReadMeterMS.TaskTemplet;

namespace WaterRevenueMS.Core.Service.ReadMeterMS
{
    public interface ITaskTempletService
    {
        IQueryable<TaskTemplet> TaskTemplets { get; }

        OperationResult Insert(TaskTempletModel model);

        OperationResult Update(TaskTempletModel model);

        OperationResult Insert(TaskGenerateModel model);
        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        OperationResult Delete(int Id);
    }
}
